//
//  HYFTemp2Ctrl.m
//  MyOCWeibo
//
//  Created by 黄勇锋 on 16/10/3.
//  Copyright © 2016年 黄勇锋. All rights reserved.
//

#import "HYFTemp2Ctrl.h"
#import "HYFTempCtrl3.h"

@implementation HYFTemp2Ctrl

- (void)viewDidLoad{
    
    [super viewDidLoad];
    
    self.title = @"HYFTempCtrl2";
    
//    self.navigationItem.leftBarButtonItem = [UIBarButtonItem itemWithImageName:@"navigationbar_back_withtext" title:@"首页" target:self action:@selector(back)];
    
}

//- (void)back{
//
//    [self.navigationController popViewControllerAnimated:YES];
//}

- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
    
    HYFTempCtrl3 *ctrl3 = [[HYFTempCtrl3 alloc]init];
    
    [self.navigationController pushViewController:ctrl3 animated:YES];
}


@end
